import request from "./request";


export default {
    getUserName() {
        return request({
            method: 'get',
            url: 'blogfbk/usertable/getUsername'
        })
    },
    getAttentionArticle(userId) {
        return request({
            url: `blogfbk/userattention/getattentionarticle/${userId}`,
            method: 'get',
        })
    },
    getAttentionUser(userId) {
        return request({
            url: `blogfbk/userattention/getattentionuser/${userId}`,
            method: 'get',
        })
    },
    readyAttentionUser(userId, ByUserId) {
        return request({
            url: `blogfbk/userattention/update/attentionuser/${userId}/${ByUserId}`,
            method: 'get'
        })
    },
    removeUserAttention(userId, ByUserId) {
        return request({
            url: `blogfbk/userattention/update/removeattention/${userId}/${ByUserId}`,
            method: 'get'
        })
    }
}